<table style="width: 100%;" cellpadding="4" cellspacing="0">
    <tr>
        <td class="border2">
            <table style="width: 100%;cursor:pointer;" cellpadding="0" cellspacing="0" border="0" onclick="SwitchMenu('sub8','hidetext8')">
                <tr>
                    <td width="7"><img src="design/pic/blogs.jpg" alt="" height="35" width="35" /></td>
                    <td class="block_header">&nbsp;{language text="new_blogs"}</td>
                    <td style="text-align:right;padding-right:4px;"><span class="cur" id="hidetext8">[-]</span></td>
                </tr>
            </table>
<div class="submenu" id="sub8">
 				<table style="width:100%;height:270px;" cellspacing="0" cellpadding="0">
 				<tr>
 				<td style="font-size:7pt;vertical-align:top;">
 					<br />
{foreach from=$aItems item=aItem name=aitems}
<table style="width:100%;" class="border5">
	<tr>
		<td style="width:5%;">
			<a href="{url link='public.user' name=$aItem.user}">
            	{Account::Avatar sUser=$aItem.user iSize=60 class="pic1" onmouseover="showInfo5('`$aItem.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
            </a>
 		</td>
 		<td class="color" style="font-size:11pt;vertical-align:top;width:95%;">
 			<a href="{url link='public.blog.view' id=$aItem.id}"><b>{$aItem.title|truncate:'25'|process_code|default|escape}</b></a>
 			<div style="font-size:8pt;">{language text='Mod_Blog.by'}: {$aItem.user} {language text='Mod_Blog.posted_on'} {$aItem.time|date_format:$sDateTimeFormat}</div>
			<div style="font-size:10pt;">{$aItem.text|process_code|strip_tags|truncate:'100'}</div>
			
		
 		</td>
 	</tr>
</table>
<br/>
{foreachelse}
<div class="message_info">
{language text="there_are_no_blogs_yet"}
</div>
{/foreach}
 					<br/> 				</td>
 				</tr>
 				<tr>
 				<td style="vertical-align: bottom;">
 					<div style="font-size:7pt;text-align:right;">
 					<a class="link_action" href="{url link='public.account.submit.add-blog'}">[ {language text="add_your_blog"} ]</a>
 					</div>
 				</td>
 				</tr>
 				</table>
 				</div>
        </td>
    </tr>
</table>
<br />